home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / Online / Epic4 / share / epic / help / 6_functions / winsize < prev    next >
Text File  |  2001-03-21  |  797b  |  25 lines

  1. Synopsis:
  2.    $winsize([<window>])
  3.  
  4. Technical:
  5.    This returns the height, in lines, of the specified window, not including
  6.    the status line or the input line.  It may be given either a window name
  7.    or a window number.  If no window is specified, the current is assumed.
  8.  
  9. Practical:
  10.    This function is mainly useful for aliased commands that generate a lot
  11.    of output.  Since the height of the window is known, the script can page
  12.    the output a window at a time.
  13.  
  14. Returns:
  15.    number of lines in window, or nothing if window does not exist
  16.  
  17. Examples:
  18.    $winsize(1)                 returns size of window #1
  19.    $winsize(main)              returns size of window "main"
  20.    $winsize()                  returns size of current window
  21.  
  22. See Also:
  23.    geom(6); window(4) size
  24.  
  25.